package net.sx.minemodule.mvp.activities;

import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Autowired;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.homegoods.aroutercomment.ARouterPath;
import com.kedll.library.base.MyBaseFragmentActivity;
import com.kedll.library.mvp.BasePresenter;

import net.sx.minemodule.R;
import net.sx.minemodule.databinding.MineActivityCompanyInfoBinding;

/**
 * add shibo.zheng
 * 19/06/17
 * 公司详情
 */
@Route(path = ARouterPath.PATH_COMPANY_INFO)
public class MineCompanyInfoActivity extends MyBaseFragmentActivity<MineActivityCompanyInfoBinding, BasePresenter> {
    @Autowired(name = "companyName")
    public String companyName;

    @Override
    protected int getLayout() {
        return R.layout.mine_activity_company_info;
    }

    @Override
    protected void initEvent() {

    }

    @Override
    protected BasePresenter getPresenter() {
        return null;
    }

    @Override
    protected void initToolBar(Bundle savedInstanceState) {
        super.initToolBar(savedInstanceState);
        ARouter.getInstance().inject(this);

    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        super.initData(savedInstanceState);
        setTitle(companyName);
    }
}
